<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<style type="text/css">
    .dib-baseline{
        display: inline-block;
        width: 150px;
        height: 150px;
        background: #f0f3f9;
        border: 1px solid #cad5eb;
    }
    .second{
        line-height: 0;
    }
</style>
<body>
    <span class="dib-baseline"></span>
    <span class="dib-baseline second">x-baseline</span>
</body>
</html>